﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../include/head.jspf"%>
<head>
<title>东方易云后台管理系统</title>
<style>
body { background: #f5f5f5 ;}
</style>
</head>
<script language="javascript">
function editSelect(fcRecvRawMsgId){
	document.selectForm.action="messageInfo";
	document.selectForm.fcRecvRawMsgIdInfo.value = fcRecvRawMsgId;
	document.selectForm.submit();
}

function goPage(pageNo) {
	document.selectForm.pageNo.value = pageNo;
	document.selectForm.fcRecvRawMsgId.value = document.selectForm.fcRecvRawMsgIdH.value;
	document.selectForm.submit();
}
</script>
<body>
<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background -->
  <div id="main-content">
    <!-- Main Content Section with everything -->
    <!-- Page Head -->
    <div id="page-title"><h3>报文处理队列</h3></div>
    <div class="pgline"></div>
    <div class="notification querytj png_bg">
      <div>
      <form method="post" action="messageSendList" id="selectForm" name="selectForm">
       <input type="hidden" name="pageNo" value="<c:out value='${pageNo}'/>" />
       <input type="hidden" name="fcRecvRawMsgIdInfo" />
       <input type="hidden" name="fcRecvRawMsgIdH" value="<c:out value='${fcRecvRawMsgId}'/>" />
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="11%" height="35" align="right">&nbsp;&nbsp;报文ID：              </td>
            <td width="23%"><input type="text" name="fcRecvRawMsgId"  class="input2" value="<c:out value='${fcRecvRawMsgId}' />" /></td>
            <td width="66%"><div><a class="button" href="javascript:void(0);" onclick="$('#selectForm').submit();">查询</a></div></td>
          </tr>
        </table>
        </form>
      </div>
    </div>
    
    <div class="clear"></div>

    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>报文发送列表</h3>
        <div class="clear"></div>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
        <div class="tab-content default-tab">
          <table>
            <thead>
              <tr>
                <th>报文ID</th>
                <th>重试次数</th>
                <th>处理时间</th>
                <th>状态</th>
                <th>操作</th>
              </tr>
            </thead>
            <tfoot>
              <tr>
                <td colspan="10">
                 <c:out value="${pageInfo}" escapeXml="false"></c:out>
                  <!-- End .pagination -->
                  <div class="clear"></div></td>
              </tr>
            </tfoot>
            <tbody>
              <tr>
                <td></td>
                <c:forEach var="dataxProcingVO" items="${dataxProcingVOList}">
              <tr>
                <td><c:out value="${dataxProcingVO.fcRecvRawMsgId}"></c:out></td>
                <td><c:out value="${dataxProcingVO.fiResendCount}"></c:out></td>
                <td><fmt:formatDate value="${dataxProcingVO.fdTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                <td><c:out value="${catagoryMessageStatusMap[fn:trim(dataxProcingVO.fiStatus)]}"></c:out></td>
                <td><a href="javascript:void(0)" onclick="editSelect('<c:out value="${dataxProcingVO.fcRecvRawMsgId}" />');"  title="Edit" >查看</a></td>
              </tr>
             </c:forEach>
              </tr>
            </tbody>
          </table>
        </div>
        <!-- End #tab1 -->
      </div>
      <!-- End .content-box-content -->
    </div>
  </div>
  <!-- End #main-content -->
</div>
</body>
